<?php

require_once dirname(__FILE__).'/../lib/idiomaGeneratorConfiguration.class.php';
require_once dirname(__FILE__).'/../lib/idiomaGeneratorHelper.class.php';

/**
 * idioma actions.
 *
 * @package    cronos-doctrine
 * @subpackage idioma
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class idiomaActions extends autoIdiomaActions
{
    public function executeListUp(sfWebRequest $request)
{
    $etiqueta = $this->getRoute()->getObject();
    $etiqueta->upOrden();
    //$job->extend(true);
    $this->getUser()->setFlash('notice', 'Orden Cambiado');
    $this->redirect('@idioma');
}

public function executeListDown(sfWebRequest $request)
{
    $etiqueta = $this->getRoute()->getObject();
    $etiqueta->downOrden();
    //$job->extend(true);
    $this->getUser()->setFlash('notice', 'Orden Cambiado');
    $this->redirect('@idioma');
}
}
